package cn.piesat.vo.role;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 角色绑定资源参数
 * @author zyp
 * @date 2021/3/10
 */
public class AuthorizeResourceVO {
    @NotBlank(message = "角色id不能为空")
    private String roleId;
    private List<String> resourceList;
    private String type;
    private String menuId;

    @Override
    public String toString() {
        return "AuthorizeResourceVO{" +
                "roleId='" + roleId + '\'' +
                ", resourceList=" + resourceList +
                ", type='" + type + '\'' +
                ", menuId='" + menuId + '\'' +
                '}';
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public List<String> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<String> resourceList) {
        this.resourceList = resourceList;
    }
}
